<?php
session_start();
$_SESSION['u'] = 1;
deldir("upyun");
function deldir($dir)
	{
	//删除目录下的文件：
$dh=opendir($dir);

	while ($file=readdir($dh)) 
	{
	if($file!="." && $file!="..") 
	{
	$fullpath=$dir."/".$file;

	if(!is_dir($fullpath))
	{
	unlink($fullpath);
	} 
	else
	{
	deldir($fullpath);
	}
	}
	}

	closedir($dh);

} 
?>
<script>window.location="ix.html";</script>